package com.qianfeng.mapper;

import com.qianfeng.pojo.SysCategory;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/6 19:35
 */
@Repository
public interface CategoryMapper {
    SysCategory findByCategoryName(String categoryName);

    void addCategory(SysCategory sysCategory);

    void updateCategory(SysCategory category);

    List<SysCategory> findAllCategory();

    SysCategory findById(Long cId);

    void deleteCategory(Long cId);
}
